package com.patchmanage.back.entity;

    import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
* <p>
    * 
    * </p>
*
* @author huizhao
* @since 2021-07-11
*/
    @ApiModel(value="TaskInfo对象", description="")
    public class TaskInfo implements Serializable {

    private static final long serialVersionUID = 1L;

            @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

            @ApiModelProperty(value = "任务名称")
    private String taskName;

            @ApiModelProperty(value = "执行时间")
    private String executeTime;

            @ApiModelProperty(value = "任务类型")
    private String taskType;

            @ApiModelProperty(value = "执行方式")
    private Integer executeFun;

            @ApiModelProperty(value = "下次执行时间")
    private LocalDateTime lastExecuteTime;

        public Integer getId() {
        return id;
        }

            public void setId(Integer id) {
        this.id = id;
        }
        public String getTaskName() {
        return taskName;
        }

            public void setTaskName(String taskName) {
        this.taskName = taskName;
        }
        public String getExecuteTime() {
        return executeTime;
        }

            public void setExecuteTime(String executeTime) {
        this.executeTime = executeTime;
        }
        public String getTaskType() {
        return taskType;
        }

            public void setTaskType(String taskType) {
        this.taskType = taskType;
        }
        public Integer getExecuteFun() {
        return executeFun;
        }

            public void setExecuteFun(Integer executeFun) {
        this.executeFun = executeFun;
        }
        public LocalDateTime getLastExecuteTime() {
        return lastExecuteTime;
        }

            public void setLastExecuteTime(LocalDateTime lastExecuteTime) {
        this.lastExecuteTime = lastExecuteTime;
        }

    @Override
    public String toString() {
    return "TaskInfo{" +
            "id=" + id +
            ", taskName=" + taskName +
            ", executeTime=" + executeTime +
            ", taskType=" + taskType +
            ", executeFun=" + executeFun +
            ", lastExecuteTime=" + lastExecuteTime +
    "}";
    }
}
